import Vue from 'vue'
import Router from 'vue-router'
import Home from '@/components/Home'
import Test from '@/components/Test'
import Role from '@/components/view/system/Role'
import Actor from '@/components/view/media/Actor'
import Product from '@/components/view/product/Product'
import Assets from '@/components/view/media/Assets'
import AssetsManage from '@/components/view/media/AssetsManage'
import OnTimeOder from '@/components/view/product/OnTimeOder'
import AssetsAudit from '@/components/view/audit/AssetsAudit'
import AssetsAuditFactory from '@/components/view/audit/AssetsAuditFactory'
import ActorInfo from '@/components/view/audit/ActorInfo'
import SubAssets from '@/components/view/audit/SubAssets'
import Capital from '@/components/view/system/Capital'
import ShellAssets from '@/components/view/media/ShellAssets' //壳资产管理
import AssetIssuance from '@/components/view/product/AssetIssuance'
import AssetIssuanceFactory from '@/components/view/product/AssetIssuanceFactory'
import ParentTurnDownFactory from '@/components/view/product/ParentTurnDownFactory'
import ShellAssetsFactory from '@/components/view/media/ShellAssetsFactory'
import SitManage from '@/components/view/system/SitManage'
import ProgramListFactory from '@/components/view/live/ProgramListFactory'
import ChannelTurnDownFactory from '@/components/view/live/ChannelTurnDownFactory'
import ChannelTurnDown from '@/components/view/live/ChannelTurnDown'
import PlayGenreManage from '@/components/view/live/PlayGenreManage'
import PlayManage from '@/components/view/live/PlayManage'
import AssetsWarehouseStatistics from '@/components/view/audit/AssetsWarehouseStatistics'
import AssetsDownRecord from '@/components/view/audit/AssetsDownRecord'
import TagManage from '@/components/view/system/TagManage'
import AssetsProviderManage from '@/components/view/system/AssetsProviderManage'
import PublisherManage from '@/components/view/system/PublisherManage'
import SpecialArea from '@/components/view/system/SpecialArea'
import Language from '@/components/view/system/Language'
import Definition from '@/components/view/system/Definition'
import Operator from '@/components/view/system/Operator'
import Dictionary from '@/components/view/system/Dictionary'
import Organization from '@/components/view/system/Organization'
import Log from '@/components/view/system/Log'
import Operatelog from '@/components/view/system/Operatelog'
import User from '@/components/view/system/User'
import AnnouncementManagement from '@/components/view/system/AnnouncementManagement'
import ImportTask from '@/components/view/system/ImportTask'
import CDNRelease from '@/components/view/CDNManagement/CDNRelease'
import CDNInquire from '@/components/view/CDNManagement/CDNInquire'
import CDNBuild from '@/components/view/CDNManagement/CDNBuild'

Vue.use(Router)

export default new Router({
  routes: [{
    path: '/home',
    name: 'home',
    component: Home
  },
  {
    path: '/Test',
    name: 'Test',
    component: Test
  },
  {
    path: '/Role',
    name: 'Role',
    component: Role
  },
  {
    path: '/Actor',
    name: 'Actor',
    component: Actor
  },
  {
    path: '/actor/:isNeedGoBack/:curRootAssets',
    name: 'actor',
    component: Actor,
  },
  {
    path: '/Product',
    name: 'Product',
    component: Product
  },
  {
    path: '/OnTimeOder',
    name: 'OnTimeOder',
    component: OnTimeOder
  },
  {
    path: '/AssetsAudit',
    name: 'AssetsAudit',
    component: AssetsAudit
  },
  {
    path: '/ActorInfo',
    name: 'ActorInfo',
    component: ActorInfo
  },
  {
    path: '/SubAssets',
    name: 'SubAssets',
    component: SubAssets
  },
  {
    path: '/Capital',
    name: 'Capital',
    component: Capital
  },
  {
    path: '/Assets',
    name: 'Assets',
    component: Assets
  },
  {
    path: '/AssetsManage',
    name: 'AssetsManage',
    component: AssetsManage
  },
  {
    path: '/assets/:isNeedGoBack/:curRootAssets',
    name: 'assets',
    component: Assets,
  },
  {
    path: '/ShellAssets',
    name: 'ShellAssets',
    component: ShellAssets
  },
  {
    path: '/ShellAssetsFactory',
    name: 'ShellAssetsFactory',
    component: ShellAssetsFactory
  },
  {
    path: '/AssetsAuditFactory',
    name: 'AssetsAuditFactory',
    component: AssetsAuditFactory
  },
  {
    path: '/SitManage',
    name: 'SitManage',
    component: SitManage
  },
  {
    path: '/AssetIssuanceFactory',
    name: 'AssetIssuanceFactory',
    component: AssetIssuanceFactory
  },
  {
    path: '/ParentTurnDownFactory',
    name: 'ParentTurnDownFactory',
    component: ParentTurnDownFactory
  },
  {
    path: '/ProgramListFactory',
    name: 'ProgramListFactory',
    component: ProgramListFactory
  },
  {
    path: '/ChannelTurnDownFactory',
    name: 'ChannelTurnDownFactory',
    component: ChannelTurnDownFactory
  },
  {
    path: '/ChannelTurnDown',
    name: 'ChannelTurnDown',
    component: ChannelTurnDown
  },
  {
    path: '/PlayGenreManage',
    name: 'PlayGenreManage',
    component: PlayGenreManage
  },
  {
    path: '/PlayManage',
    name: 'PlayManage',
    component: PlayManage
  },
  {
    path: '/AssetsWarehouseStatistics',
    name: 'AssetsWarehouseStatistics',
    component: AssetsWarehouseStatistics
  },
  {
    path: '/AssetsDownRecord',
    name: 'AssetsDownRecord',
    component: AssetsDownRecord
  },
  {
    path: '/TagManage',
    name: 'TagManage',
    component: TagManage
  },
  {
    path: '/AssetsProviderManage',
    name: 'AssetsProviderManage',
    component: AssetsProviderManage
  },
  {
    path: '/PublisherManage',
    name: 'PublisherManage',
    component: PublisherManage
  },
  {
    path: '/SpecialArea',
    name: 'SpecialArea',
    component: SpecialArea
  },
  {
    path: '/Language',
    name: 'Language',
    component: Language
  },
  {
    path: '/Definition',
    name: 'Definition',
    component: Definition
  },
  {
    path: '/Operator',
    name: 'Operator',
    component: Operator
  },
  {
    path: '/Dictionary',
    name: 'Dictionary',
    component: Dictionary
  },
  {
    path: '/Organization',
    name: 'Organization',
    component: Organization
  },
  {
    path: '/User',
    name: 'User',
    component: User
  },
  {
    path: '/AnnouncementManagement',
    name: 'AnnouncementManagement',
    component: AnnouncementManagement
  },
  {
    path: '/Log',
    name: 'Log',
    component: Log
  },
  {
    path: '/Operatelog',
    name: 'Operatelog',
    component: Operatelog
  },
  {
    path: '/ImportTask',
    name: 'ImportTask',
    component: ImportTask
  },
  {
    path: '/CDNBuild',
    name: 'CDNBuild',
    component: CDNBuild
  },
  {
    path: '/CDNInquire',
    name: 'CDNInquire',
    component: CDNInquire
  },
  {
    path: '/CDNRelease',
    name: 'CDNRelease',
    component: CDNRelease
  },
  ]
})